module.exports = {
  presets: [
    ["@babel/preset-env", {}],
    ["@babel/preset-react", {}], // 支持 jsx
  ],
  plugins: [
    ["@babel/plugin-proposal-decorators", { legacy: true }],
    ["@babel/plugin-proposal-class-properties"],
  ],
};
